Sets our main struct and passes it to the parent class.
Creates a text mark.
Returns the mark category.
Get the main Gtk struct
the main Gtk struct as a void*
Returns the next GtkSourceMark in the buffer or %NULL if the mark was not added to a buffer.
Returns the previous GtkSourceMark in the buffer or %NULL if the mark was not added to a buffer.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Gets the buffer this mark is located inside.
Returns %TRUE if the mark has been removed from its buffer.
Determines whether the mark has left gravity.
Returns the mark name.
Returns %TRUE if the mark is visible.
Mark object for [class@Buffer].
A GtkSourceMark marks a position in the text where you want to display additional info. It is based on [class@Gtk.TextMark] and thus is still valid after the text has changed though its position may change.
GtkSourceMarks are organized in categories which you have to set when you create the mark. Each category can have a priority, a pixbuf and other associated attributes. See [method@View.set_mark_attributes]. The pixbuf will be displayed in the margin at the line where the mark residents if the [property@View:show-line-marks] property is set to %TRUE. If there are multiple marks in the same line, the pixbufs will be drawn on top of each other. The mark with the highest priority will be drawn on top.